package org.young.admin.common.rpc;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;
import org.young.common.constant.DubboRpcConstant;
import org.young.rbac.api.base.SysUserService;
import org.young.rbac.api.work.SysUserWorkService;

/**
 * @author lmhd-emp
 * @date 2021/4/27 14:49
 * @description:
 */
@Service
public class RpcCommonService {

	/**
	 * ======================= RBAC =======================
	 */
	@DubboReference(version = DubboRpcConstant.DEFAULT_RPC_VERSION, timeout = DubboRpcConstant.DEFAULT_RPC_TIMEOUT, mock = DubboRpcConstant.DEFAULT_RPC_MOCK)
	public SysUserService     sysUserService;
	@DubboReference(version = DubboRpcConstant.DEFAULT_RPC_VERSION, timeout = DubboRpcConstant.DEFAULT_RPC_TIMEOUT, mock = DubboRpcConstant.DEFAULT_RPC_MOCK)
	public SysUserWorkService sysUserWorkService;
}
